package cn.cool.service;

import cn.cool.entity.UserFollow;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuH
 * @since 2021-01-23
 */
public interface UserFollowService extends IService<UserFollow> {

    Object setUserFollow(HttpServletRequest request,Integer followId);

    Object getUserOrTargerFollow(HttpServletRequest request, Integer targetId);

    Object getUserOrTargerFans(HttpServletRequest request, Integer targetId);

    Object getMutualFollow(HttpServletRequest request,Integer targetId);

}
